package com.programs.waw;

import android.view.View;
import android.widget.TextView;

public class AliceViewCache {

	private View baseView;
	private TextView textViewWpa;
	private TextView textViewSsid;

	public AliceViewCache(View baseview) {
		this.baseView = baseview;
	}

	public TextView getTextViewWpa() {
		if (textViewWpa == null) {
			textViewWpa = (TextView) baseView.findViewById(R.id.wpaString);
		}
		return textViewWpa;
	}

	public TextView getTextViewSsid() {
		if (textViewSsid == null) {
			textViewSsid = (TextView) baseView.findViewById(R.id.ssidString);
		}
		return textViewSsid;
	}

}